package com.ltt.mapper;

import com.ltt.dao.pojo.Attention;
import com.ltt.dao.vo.UserInfoVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author ‘李天泰’
 * @version 1.0
 * @description: TODO
 * @date 2023/5/3 21:23
 */
@Mapper
public interface AttentionMapper {
    void addAttention(Attention attention);

    void insertAttention(Attention attention);

    void cancelAttention(Attention attention);

    Attention findAttention(Attention attention);

    List<UserInfoVo> findAllAttentionUser(String openid);

    List<UserInfoVo> findAllFansUser(String openid);

    Attention isAttention(Attention attention);
}
